/* pages/order-detail/order-detail.wxss */
image {
  width: 100%;
  height: 100%;
}
page {
  background: #f2f2f2;
}
.container {
  background: #f2f2f2;
}
.display {
  display: none !important;
}
.order-detail {
  padding-bottom: 120rpx;
}

/* 头部流程-等待商家发货 */
.process {
  padding: 20rpx;
  font-size: 28rpx;
  border-bottom: 1px solid #f2f2f2;
  background: #fff;
}
.process-top {
  padding: 20rpx 0;
  margin-top: 10rpx;
}
.shop-icon {
  width: 70rpx;
  height: 70rpx;
  margin-right: 15rpx;
  vertical-align: middle;
}
.wait {
  vertical-align: middle;
}
/* 进程 */
.process-list {
  position: relative;
  padding-top: 30rpx;
  padding-bottom: 15rpx;
  display: flex;
  justify-content: space-between;
}
.process-item {
  font-size: 25rpx;
  color: #aaa;
  text-align: center;
}
.buyers-pay {
  text-align: left;
}
.successful {
  text-align: right;
}
.current-txt {
  color: #17b606;
}
.item-icon {
  width: 20rpx;
  height: 20rpx;
}
.solid-round {
  display: inline-block;
  width: 12rpx;
  height: 12rpx;
  background: #bbb;
  border-radius: 50%;
}
/* 进度条 */
.line {
  position: absolute;
  bottom: 28rpx;
  height: 3rpx;
  background: #f0f0f0;
}
.line-current {
  background: #46b229;
}
.line01 {
  left: 33rpx;
  width: 42%;
}
.line02 {
  right: 33rpx;
  width: 42%;
}
.spell-line01 {
  width: 25%;
  left: 33rpx;
}
.spell-line02 {
  width: 25%;
  left: 255rpx;
}
.spell-line03 {
  width: 25%;
  right: 33rpx;
}

/* 订单状态 */
.order-detail .order-status {
  position: relative;
  padding: 30rpx 20rpx;
  background: #fff;
}

.order-detail .order-status .status-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 168rpx;
  font-size: 0;
}

.order-detail .order-status .status-text {
  font-size: 36rpx;
  font-weight: 600;
  color: #fff;
  margin: 26rpx 30rpx 24rpx;
  position: relative;
}

.order-detail .order-status .step {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 50rpx;
}

.order-detail .order-status .step .item {
  flex: 1;
}

.order-detail .order-status .step .item .select {
  width: 12rpx;
  height: 12rpx;
  border: 16rpx solid #fff;
  background: #999;
  margin: auto;
  border-radius: 50%;
  position: relative;
}

.order-detail .order-status .step .item .des {
  font-size: 24rpx;
  margin-top: 10rpx;
  text-align: center;
}

.order-detail .order-status .step .item.active .select {
  background: #ff6d13;
  width: 32rpx;
  height: 32rpx;
  border: 6rpx solid #fff;
  color: #fff;
}

.order-detail .order-status .step .item.active .select::after {
  /* #ifndef MP-WEIXIN */
  content: '\EA08';
  font: 20rpx/1 uni;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* #endif */
  /* #ifdef MP-WEIXIN */
  content: '';
  position: absolute;
  left: 20%;
  top: 20%;
  width: 55%;
  height: 30%;
  border: 4rpx solid #ffffff;
  border-radius: 2rpx;
  border-top: none;
  border-right: none;
  background: transparent;
  transform: rotate(-45deg);
  /* #endif */
}

.order-detail .order-status .step .item.active .des {
  color: #ff6d13;
}

/* 配送地址 */
.order-detail .address-box {
  margin-top: 20rpx;
  background: #fff;
  padding: 30rpx 30rpx 30rpx 70rpx;
  position: relative;
  margin: 20rpx 10rpx 0;
  border-radius: 23rpx;
}

.order-detail .address-box .img {
  position: absolute;
  left: 30rpx;
  top: 36rpx;
  width: 28rpx;
  height: 28rpx;
  font-size: 0;
}

.order-detail .address-box .user-info {
  display: flex;
  align-items: baseline;
  font-weight: 600;
  font-size: 28rpx;
}
.order-detail .address-box .user-info .name {
  font-family: arial;
  overflow: hidden;
  word-break: keep-all;
  text-overflow: ellipsis;
}

.order-detail .address-box .user-info .phone {
  flex: 1;
  font-family: arial;
  margin-left: 30rpx;
}

.order-detail .address-box .address-detail {
  word-break: break-all;
  font-size: 24rpx;
  color: #999;
  margin-top: 10rpx;
}

/* 自提地址 */
.order-detail .delivery-certificate {
  margin-top: 20rpx;
  background: #fff;
  padding: 0 30rpx 30rpx;
}

.order-detail .delivery-certificate .tit {
  font-size: 28rpx;
  font-weight: 600;
  padding: 30rpx 0;
}

.order-detail .delivery-certificate .address {
  display: flex;
  align-items: center;
}

.order-detail .delivery-certificate .address .text {
  flex: 1;
  font-size: 24rpx;
  color: #999;
  word-break: break-all;
}

.order-detail .delivery-certificate .address .icon-box {
  display: flex;
  align-items: center;
  position: relative;
}

.order-detail .delivery-certificate .address .icon-box .icon {
  width: 28rpx;
  height: 28rpx;
  font-size: 0;
  margin: 5rpx;
}

.order-detail .delivery-certificate .address .icon-box .bl {
  background-color: #eee;
  width: 2rpx;
  height: 24rpx;
  margin: 4rpx;
}

.order-detail .delivery-certificate .code-box {
  margin-top: 30rpx;
  padding: 30rpx 20rpx;
  display: flex;
  align-items: center;
  font-size: 24rpx;
  border-radius: 23rpx;
  border: 2rpx solid #f1f1f1;
}

.order-detail .delivery-certificate .code-det {
  position: relative;
}

.order-detail .delivery-certificate .code-det::after {
  position: absolute;
  right: 30rpx;
  top: 50%;
  display: block;
  width: 15rpx;
  height: 15rpx;
  content: ' ';
  font-size: 0;
  border-top: 2rpx solid #b3b3b3;
  border-right: 2rpx solid #b3b3b3;
  transform: rotate(45deg) translateY(-50%);
}

.order-detail .delivery-certificate .code-box.no-code {
  padding: 0;
  box-shadow: none;
}

.order-detail .delivery-certificate .code-box .code {
  width: 140rpx;
  height: 140rpx;
  font-size: 0;
  margin-right: 16rpx;
}

.order-detail .delivery-certificate .code-box .text-box {
  flex: 1;
}

.order-detail .delivery-certificate .code-box .text-box .item {
  display: flex;
  line-height: 48rpx;
}

.order-detail .delivery-certificate .code-box .text-box .item .i-lable {
  color: #999;
  text-align: justify;
  /* text-align: left; */
  /* width: 81px; */
  height: 48rpx;
  overflow: hidden;
}

.order-detail .delivery-certificate .code-box .text-box .item .i-lable::after {
  content: ' ';
  display: inline-block;
  padding-left: 100%;
}

.order-detail .delivery-certificate .code-box .text-box .item .fw {
  font-weight: 600;
}

.order-detail .delivery-certificate .code-box .text-box .item .i-text {
  flex: 1;
  max-width: 64%;
}

.order-detail .delivery-certificate .code-box .text-box .item .i-text > text {
  display: inline-block;
  max-width: 100%;
  word-break: break-all;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* 商品列表 */
.prod-item {
  background-color: #fff;
  margin: 15rpx 10rpx 0;
  font-size: 28rpx;
  border-radius: 23rpx 23rpx 0 0;
}
/* 拼团icon */
/* 单个商品 */
.group-text {
  font-size: 23rpx;
  color: #fff;
  background: #fe4443;
  padding: 5rpx 10rpx;
  border-radius: 8rpx;
  position: absolute;
  top: 40rpx;
  left: 34rpx;
}

.prod-item .item-cont .prod-pic image {
  width: 180rpx;
  height: 180rpx;
}
.prod-item .item-cont {
  position: relative;
  display: flex;
  align-items: center;
  padding: 30rpx;
  border-top: 2rpx solid #f1f1f1;
}
.prod-item .item-cont .prod-pic {
  font-size: 0;
  display: block;
  width: 160rpx;
  height: 160rpx;
  border-radius: 26rpx;
  overflow: hidden;
  background: #fff;
  margin-right: 16rpx;
}
.prod-item .item-cont .prod-pic image {
  width: 100%;
  height: 100%;
}
.prod-item .item-cont .prod-info {
  margin-left: 10rpx;
  font-size: 28rpx;
  width: 100%;
  position: relative;
  height: 80px;
  -webkit-flex: 1;
  -ms-flex: 1;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  flex: 1;
}
/* 申请退款按钮 */
.apply-refund-btn {
  position: absolute;
  right: 20rpx;
  bottom: 25rpx;
  font-size: 23rpx;
  padding: 7rpx 15rpx;
  color: #ff6d13 !important;
  border: 1rpx solid #ff6d13 !important;
  border-radius: 60rpx;
  margin: 22rpx 0;
}

.prod-item .item-cont .prod-info .prodname {
  font-size: 28rpx;
  line-height: 40rpx;
  max-height: 86rpx;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  word-break: break-all;
}
.prod-item .item-cont .prod-info .prod-info-cont {
  position: relative;
  color: #999;
  margin-top: 15rpx;
  font-size: 24rpx;
}
.prod-item .item-cont .prod-info .prod-info-cont .info-item {
  color: #999;
  height: 28rpx;
  margin-top: 10rpx;
  font-size: 24rpx;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  word-break: break-all;
  width: 70%;
}
.prod-item .item-cont .prod-info .prod-info-cont .number {
  margin-right: 20rpx;
}
.prod-item .price-nums {
  margin-top: 15rpx;
  color: rgb(243, 25, 30);
}
.prod-item .price-nums .prodprice {
  font-size: 24rpx;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
}
.prod-item .price-nums .btn-box {
  float: right;
  text-align: right;
}
.prod-item .price-nums .btn-box .btn {
  padding: 6rpx 30rpx;
  line-height: 36rpx;
  margin-left: 20rpx;
  font-size: 24rpx;
  display: inline-block;
  border: 2rpx solid #e4e4e4;
  border-radius: 50rpx;
}

/*
订单信息 */

.order-msg {
  background: #fff;
  margin: 0rpx 10rpx 0;
  font-size: 28rpx;
}

.order-msg .msg-item {
  padding: 0 20rpx 0;
}

.order-msg .msg-item:first-child {
  border: 0;
}

.order-msg .msg-item .item {
  display: flex;
  padding: 10rpx 0;
  align-items: flex-start;
}

.order-msg .msg-item .item.payment {
  border-top: 2rpx solid #f1f1f1;
  color: #ff6d13;
  padding-top: 30rpx;
}

.order-msg .msg-item .item .item-tit {
  color: #999;
  line-height: 1.5em;
  white-space: nowrap;
}

.order-msg .msg-item .item .item-txt {
  flex: 1;
  line-height: 1.5em;
  word-break: break-word;
}

.order-msg .msg-item .item .copy-btn {
  display: block;
  margin-left: 20rpx;
  border: 2rpx solid #e4e4e4;
  padding: 6rpx 24rpx;
  border-radius: 50rpx;
  font-size: 24rpx;
  line-height: 28rpx;
}

.order-msg .msg-item .item .item-txt.price {
  text-align: right;
}
.color_999 {
  color: #999;
}

/* 底部栏 */
.order-detail-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 750rpx;
  background: #fff;
  margin: auto;
  display: -webkit-flex;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: space-between;
  /* padding: 22rpx 0; */
  font-size: 26rpx;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}
.footer-btn-box {
  display: flex;
  justify-content: flex-end;
}
.order-detail-footer .dele-order {
  margin-left: 20rpx;
  line-height: 60rpx;
  display: block;
  margin-right: 20rpx;
  width: 150rpx;
  text-align: center;
}
.order-detail-footer .footer-box {
  display: flex;
  justify-content: flex-end;
}
.order-detail-footer .footer-box .buy-again {
  font-size: 26rpx;
  color: #fff;
  background: #ff6d13;
  border-radius: 50rpx;
  padding: 10rpx 20rpx;
  margin-right: 20rpx;
}
.order-detail-footer .footer-box .apply-service {
  display: inline-block;
  font-size: 26rpx;
  border-radius: 50rpx;
  border: 1px solid #e4e4e4;
  background: #fff;
  color: #555;
  line-height: 1em;
  padding: 15rpx 25rpx;
  vertical-align: middle;
  margin: 22rpx 0;
  margin-right: 20rpx;
}
.order-detail-footer .footer-box .apply-service::after {
  border: 0;
}
.clearfix:after {
  content: ' ';
  display: table;
  clear: both;
}
/* 底部整单退款 */
.refund-full {
  display: inline-block;
  position: relative;
  bottom: 0;
  font-size: 26rpx;
  margin-left: 24rpx !important;
  padding: 4rpx 25rpx;
  border-radius: 50rpx;
}

/* 根据状态显示不同的颜色 */

.order-state {
  height: 70rpx;
  line-height: 70rpx;
  text-align: right;
  margin-right: 20rpx;
}

.order-state .order-sts {
  color: #ff6d13;
  font-size: 28rpx;
}

.order-state .order-sts.gray {
  color: #999;
  height: 32rpx;
  line-height: 32rpx;
}

.order-state .order-sts.normal {
  color: #333;
}
.more-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 750rpx;
  margin: auto;
  z-index: 210;
}
.more-popup-mask {
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255, -0.1);
}
.more-box {
  position: absolute;
  bottom: 85rpx;
  max-height: 150rpx;
  border-radius: 8rpx;
  left: 54rpx;
  min-width: 147rpx;
  padding: 10rpx 0;
  background: #ffffff;
  z-index: 2202;
  line-height: 50rpx;
  box-shadow: 0px 0px 30rpx #cdd0db;
  text-align: center;
  border-bottom-left-radius: 0rpx;
}
.more-box .more-box-item {
  text-align: center;
}
.more-box :before {
  content: '';
  width: 0;
  height: 0;
  border-top: 20rpx solid #ffffff;
  border-right: 20rpx solid transparent;
  position: absolute;
  bottom: -10rpx;
  left: 0;
}
.popup {
  position: fixed;
  top: 100%;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 750rpx;
  margin: auto;
  z-index: 210;
}

.popup.show {
  top: 0;
}
.more-text {
  font-size: 26rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 40rpx;
}
.more-popup-text {
  font-size: 26rpx;
  padding: 0 20rpx;
}
